<html>
  <head>
    <title>Delete contact</title>
    <meta content="">
    <style></style>
  </head>
  <body>
	<a href="/">Go to Home</a>
	<form method="get" action="/search" >
		<fieldset>
			<legend>Search contacts</legend>
				<input type="text" name="text" value="{{ text }}"/>
				<input type="submit" value="Search">
		</fieldset>
	</form>
	<form method="post" action="/update" >
		<fieldset>
			<legend>Update contact</legend>
				Last name: <input type="text" name="lastname" value="{{ lastname }}" /><br>
				First name: <input type="text" name="firstname" value="{{ firstname }}" /><br>
				Phone: <input type="text" name="phone" value="{{ phone }}" /><br>
				E-mail: <input type="text" name="email" value="{{ email }}" /><br>
                <input type="hidden" name="idcontact" value="{{ idcontact }}" />
				<input type="submit" value="Update" /><br>
		</fieldset>
	</form>
  </body>
</html>
